package demo2;

/**
 * @Author: XXHH
 * @CreateTime: 2025-01-12
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.UseUSB(new Keyboard());
        Mouse mouse = new Mouse();
        computer.UseUSB(mouse);
        System.out.println(computer);
    }
}
